/*
 * FarmControl.hpp
 *
 *  Created on: 2013-1-21
 *      Author: heqiu
 */

#ifndef FARMCONTROL_H_
#define FARMCONTROL_H_

#include "Guud.h"
using namespace std;
using namespace guud;

class FarmControl {
public:
	bool m_bAlive;
	UnitControl m_ControlAddBuilding;
	UnitBuilding * m_pAddBuilding;
	FarmControl() {
		m_pAddBuilding = NULL;
		m_bAlive = true;
	}
	void mouseUp(uint16_t uiX, uint16_t uiY);
	void mouseDown(uint16_t uiX, uint16_t uiY);

};

#endif /* FARMCONTROL_H_ */
